# -*- coding: utf-8 -*-
"""
@Time ： 2021/4/28 20:24
@Auth ： Mr. royalday 2487625775
@Company ： 2487625775@qq.cpm
@Function ：请输入模块功能描述
"""
# import os
# import sys
# import django
# from  base_url import current_path
# sys.path.append(current_path)
# os.environ.setdefault("DJANGO_SETTINGS_MODULE", "tracer.settings")
# django.setup()  # os.environ['DJANGO_SETTINGS_MODULE']

from web import models




def run():
    exists = models.PricePolicy.objects.filter(category=1, title="个人免费版").exists()
    if not exists:
        models.PricePolicy.objects.create(
            category=1,
            title="个人免费版",
            price=0,
            project_num=3,
            project_member=2,
            project_space=20,
            per_file_size=5
        )


if __name__ == '__main__':
    run()
